package com.sesxh.project.knowledge.biz.service;

import java.util.Map;
import java.util.Optional;
import com.sesxh.frame.core.data.DataSet;
import com.sesxh.project.knowledge.biz.model.Favorite;
public interface IFavoriteService{

	 Optional<Favorite> loadFavoriteById(Long id);
	
	 void createFavorite(Favorite favorite);
	
	 void updateFavorite(Favorite favorite);

	 void deleteFavorite(Long id);
	
	 DataSet loadFavoriteDataSet(Map<String, Object> params);
	 

 	void setFavoriteStatus(Long id, Byte status);
}